package com.sf.fy.uav.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sf.fy.uav.entity.PromotionRecords;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 推广记录表 Mapper 接口
 * </p>
 *
 * @author LTQ
 * @since 2023-08-18
 */
public interface PromotionRecordsMapper extends BaseMapper<PromotionRecords> {

    /**
     * 去重查询
     *
     * @param activityId
     * @param userId
     * @return
     */
    Long selectDistinct(@Param("activityId") String activityId, @Param("userId") String userId);
}
